Module modules.errors
File name: errors.py Author: Martin Jůda Python Version: 3.7 Description: Module with custom exceptions
Expand source code
"""
File name: errors.py
Author: Martin Jůda
Python Version: 3.7
Description: Module with custom exceptions
"""
class NoActiveStudyError(Exception):
"""Card number is not associated with active study"""
pass
class StagUnavailableError(Exception):
"""Connection to Stag can not be established"""
pass
Classes
class NoActiveStudyError (*args, **kwargs)-
Card number is not associated with active study
Expand source code
class NoActiveStudyError(Exception): """Card number is not associated with active study""" passAncestors
- builtins.Exception
- builtins.BaseException
-
Connection to Stag can not be established
Expand source code
class StagUnavailableError(Exception): """Connection to Stag can not be established""" passAncestors
- builtins.Exception
- builtins.BaseException